/*
 * @Author: yangdingyuan yangdingyuan@bjjy.com
 * @Date: 2022-10-08 14:19:50
 * @LastEditors: yangdingyuan
 * @LastEditTime: 2022-10-08 14:38:55
 * @Description: 懒加载提示组件
 */
import React from 'react';
import { Spin } from 'antd';
import styled from 'styled-components';

const Mask = styled.div`
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
`;

const Loading = () => {
    return (
        <Mask>
            <Spin size="large" />
        </Mask>
    );
};

export default Loading;
